import vue from "@vitejs/plugin-vue";
import path from "path";
import { defineConfig } from "vite";

export default defineConfig({
    hmr: true,
    base: process.env.NODE_ENV === 'production' ? '' : '',
    publicPath:"./public",
    // base: '',
    plugins: [vue()],
    resolve: {
        alias: {
            "@": path.resolve(__dirname, "src"),
        },
    },
    server: {
        host: "0.0.0.0",
    },
});
